AT-NFC  2.1 (win)
AT-NFC kernel set
Functions
emv_export.h File Reference

Go to the source code of this file.

Functions

KER_RES KER_API kerInit (KER_CTX_INIT_PARAM const KER_VOID *pConfigID, KER_INT16U usConfigIDLen, const KER_CHAR *pchKernelFiles, KER_INT16U usKernelFilesLen)
 Performs kernel initialization. More...
 
KER_RES KER_API kerDeInit (KER_CTX_SINGLE_PARAM)
 Performs kernel de-initialization. More...
 
KER_BOOL KER_API kerVerInfo (KER_CTX_PARAM KER_CHAR **ppchEmvVer, KER_INT16U *pusEmvVerLen, KER_CHAR **ppchLibVer, KER_INT16U *pusLibVerLen)
 Obtains emv kernel library version info. More...
 
KER_BOOL KER_API kerCheckATR (KER_CTX_PARAM const KER_BYTE *pbtATR, KER_BYTE btATRLen, KER_BYTE *pbtChipProto)
 Check ATR for chip protocol to use. More...
 
KER_RES KER_API kerBuildCL (KER_CTX_PARAM KER_BYTE btChipProtocol, KER_BOOL bUsePSE, KER_TLV **ppCandidateList, KER_TLV **ppBlockedAppList)
 Creates CL by all available methods (PSE & APP list) More...
 
KER_RES KER_API kerSelectApp (KER_CTX_PARAM KER_BYTE btChipProtocol, const KER_TLV *pCandidateToSelect, KER_TRAN **ppTran)
 Makes final app selection. More...
 
KER_RES KER_API kerSetTranData (KER_CTX_PARAM KER_TRAN *pTran, const KER_BYTE *pbtTranData, KER_INT16U usTranDataLen)
 Pass transaction data to the kernel. More...
 
KER_RES KER_API kerInitAppProc (KER_CTX_PARAM KER_TRAN *pTran)
 Initiate Application Processing. More...
 
KER_RES KER_API kerForceOnline (KER_CTX_PARAM KER_TRAN *pTran)
 Force transaction online by attendant. More...
 
KER_RES KER_API kerUpdateTVR (KER_CTX_PARAM KER_TRAN *pTran, const KER_BYTE *pbtData, KER_INT16U usDataLen)
 Updates TVR from external (some custom cvm may require this) More...
 
KER_RES KER_API kerReadAppData (KER_CTX_PARAM KER_TRAN *pTran)
 Reads application data from ICC. More...
 
KER_RES KER_API kerCardInExceptFile (KER_CTX_PARAM KER_TRAN *pTran)
 Let kernel know, that card appears in terminal exception file. More...
 
KER_RES KER_API kerCheckExceptFile (KER_CTX_PARAM KER_TRAN *pTran)
 Check if card appears in terminal exception file by HAL API. More...
 
KER_RES KER_API kerIsCashbackAllowed (KER_CTX_PARAM KER_TRAN *pTran)
 Check if card supports Cashback. More...
 
KER_RES KER_API kerOfflineAuth (KER_CTX_PARAM KER_TRAN *pTran)
 Performs offline authentification. More...
 
KER_RES KER_API kerProcRestrict (KER_CTX_PARAM KER_TRAN *pTran)
 Performs processing restrictions. More...
 
KER_RES KER_API kerCV (KER_CTX_PARAM KER_TRAN *pTran, KER_BYTE *pbtSelectedCVM, KER_BYTE *pbtCustomCVMCode)
 Performs cardholder verification. More...
 
KER_RES KER_API kerSetOnlinePinResult (KER_CTX_PARAM KER_TRAN *pTran, KER_BYTE btResult)
 Pass online pin entry result to kernel. More...
 
KER_RES KER_API kerGetOfflinePinData (KER_CTX_PARAM KER_TRAN *pTran, KER_OFFLINE_PIN_DATA *pOfflinePinData)
 Get special data for offline pin entry. More...
 
KER_RES KER_API kerSetOfflinePinResult (KER_CTX_PARAM KER_TRAN *pTran, KER_BYTE btResult, const KER_BYTE *pbtPinVerifyData, KER_INT16U usPinVerifyDataLen)
 Pass offline pin entry result to kernel. More...
 
KER_RES KER_API kerSetCustomCVMResult (KER_CTX_PARAM KER_TRAN *pTran, KER_BYTE btResult, const KER_BYTE *pbtTvrBitsToSet, KER_BYTE btTvrBitsToSetLen)
 Pass custom CVM result to kernel. More...
 
KER_RES KER_API kerRiskManagement (KER_CTX_PARAM KER_TRAN *pTran)
 Performs Terminal Risk Management. More...
 
KER_RES KER_API kerTAA (KER_CTX_PARAM KER_TRAN *pTran, KER_INT16U usMode)
 Performs Terminal Action Analysis. More...
 
KER_RES KER_API kerCAA (KER_CTX_PARAM KER_TRAN *pTran)
 Performs Card Action Analysis. More...
 
KER_RES KER_API kerOnline (KER_CTX_PARAM KER_TRAN *pTran, KER_BOOL bUnableToGoOnline, KER_INT16U usReferralResult)
 Process prev set by kerSetTranData() online authorization data by the kernel and makes second GAC. More...
 

Detailed Description

KERNEL export functions which should be called by terminal application